/* subpackage_volleyball/matches/matches.wxss */
.match-container {
  padding: 20rpx;
  background-color: #ffb74d;  /* 改为橙色 */
  min-height: 100vh;
}

.page-header {
  text-align: center;
  padding: 20rpx 0 30rpx;
}

.page-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
}

.section-container {
  margin-bottom: 30rpx;
  background-color: #f9f9f9ec;  /* 改为浅灰色 */
  border-radius: 15rpx;
  padding: 20rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 40rpx;  /* 从32rpx增加到40rpx */
  font-weight: bold;
  color: #333;
  padding-bottom: 15rpx;
  margin-bottom: 20rpx;
  border-bottom: 2rpx solid #eee;
  text-align: center;  /* 添加居中对齐 */
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.match-card {
  background-color: #fff;
  border-radius: 15rpx;
  padding: 20rpx;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}

.match-date {
  font-size: 26rpx;
  color: #999;
  margin-bottom: 15rpx;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20rpx;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; // 新增：确保队伍容器高度一致
}

.team-name {
  font-size: 36rpx;  /* 增加字体大小从32rpx到36rpx */
  font-weight: bold;
  color: #333;
}

// 新增：黄色队伍名称样式
.yellow-team {
  color: #ffcc00;  // 与WIN标签背景色相同
}

// 新增：队伍介绍样式（仿照精彩瞬间）
.team-intro-scroll {
  white-space: nowrap;
  padding-bottom: 20rpx;
}

.team-intro-list {
  display: inline-flex;
  gap: 20rpx;
}

.team-intro-item {
  width: 300rpx;
  background-color: #fff;
  border-radius: 15rpx;
  overflow: hidden;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  display: inline-block;
  vertical-align: top;
  padding: 20rpx;
}

.team-intro-info {
  padding: 15rpx 0;
}

.team-intro-name {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-intro-desc {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 10rpx;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.win-tag {
  display: inline-block;
  margin-left: 10rpx;
  padding: 2rpx 10rpx;
  background-color: #ffcc00;
  color: #fff;
  font-size: 24rpx;
  font-weight: bold;
  border-radius: 15rpx;
}

.vs {
  font-size: 36rpx;
  font-weight: bold;
  color: #999;
  padding: 0 20rpx;
}

.match-info {
  display: flex;
  justify-content: space-between;
  font-size: 26rpx;
  color: #666;
  margin-bottom: 15rpx;
}

.match-score {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15rpx;
  font-size: 36rpx;
  font-weight: bold;
  color: #e64340;
  margin-bottom: 10rpx;  // 增加下边距
}

// 新增MVP样式
.mvp-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10rpx;
  font-size: 36rpx;  // 放大字体
}

.mvp-label {
  color: #ff9800;  // 改为橙色
  margin-right: 8rpx;
}

.mvp-name {
  color: #ff9800;  // 设置为橙色
  font-weight: bold;
}

.match-status {
  display: inline-block;
  padding: 5rpx 20rpx;
  background-color: #1aad19;
  color: #fff;
  font-size: 24rpx;
  border-radius: 20rpx;
  margin-top: 10rpx;
}

.match-status.ongoing {
  background-color: #ff7d00;
}

.empty-tip {
  text-align: center;
  padding: 80rpx 0;
  color: #999;
  font-size: 28rpx;
}

// 精彩瞬间样式
.highlight-scroll {
  white-space: nowrap;
  padding-bottom: 20rpx;
}

.highlight-list {
  display: inline-flex;
  gap: 20rpx;
}

.highlight-item {
  width: 300rpx;
  background-color: #fff;
  border-radius: 15rpx;
  overflow: hidden;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  display: inline-block;
  vertical-align: top;
}

.highlight-image-container {
  width: 100%;
  height: 200rpx;
  overflow: hidden;
}

.highlight-image {
  width: 100%;
  height: 100%;
}

.highlight-info {
  padding: 15rpx;
}

.highlight-title {
  font-size: 36rpx;  /* 从30rpx增加到36rpx */
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.highlight-description {
  font-size: 26rpx;
  color: #666;
  margin-bottom: 10rpx;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.highlight-date {
  font-size: 24rpx;
  color: #999;
}

// 不同状态赛事卡片的样式
.match-card.upcoming {
  border-left: 10rpx solid #1aad19;
}

.match-card.ongoing {
  border-left: 10rpx solid #ff7d00;
}

.match-card.finished {
  border-left: 10rpx solid #999;
  opacity: 0.8;
}